#include<stdio.h>
#include "linklist.h"
int main()
{
	int BookNum = 0;
	int flag = 0;
	Book_t input;

	//实验内容1
	Book_t* Head =  Book_Create(&input, &BookNum);
	//Book_View(Head, &BookNum);
	// 
	//实验内容2
	//void (* p1)(Book_t*, int*) = &Book_View;
	//Book_Change(Head, &BookNum, p1);
	// 
	//实验内容3
	//Book_Find(Head);
	//
	// 实验内容4
	//flag = Book_Insert(Head,&BookNum);
	//if (flag == SUCCESS)
	//{
	//	Book_View(Head, &BookNum);
	//}
	//else
	//{
	//	printf("抱歉，入库位置非法!");
	//}
	
	//
	//实验内容5
	//flag = Book_Delete(Head, &BookNum);
	//if (flag == SUCCESS)
	//{
	//	Book_View(Head, &BookNum);
	//}
	//else
	//{
	//	printf("抱歉，出库位置非法!");
	//}

	//实验内容6
	Book_Derepeate(Head, &BookNum);
	Book_View(Head, &BookNum);
	return 0;
}